﻿
function hello() {
    alert('hello 的函数');
}


function add(DotNet) {
    let result = DotNet.invokeMethod('DoAdd');
    console.log(result);
}

function addAsync(DotNet) {
    DotNet.invokeMethodAsync('AddAsync')
        .then(result => console.log(result))
}